package com.wsfk.ssm.entity;

import com.sun.org.apache.xerces.internal.impl.dv.xs.DecimalDV;

public class LogPurcharse {

	private String id;
	private String userId;		//用户ID
	private String goodsId;		//购买物品的ID
	private String iapState;	//苹果返回的状态
	private int	serverState; 	//是否付费成功
	private DecimalDV money;	//钱数
	private String payTime;		//付费请求时间
	private String successTime;	//付费成功时间
	
	public LogPurcharse() {
		super();
		
	}

	public LogPurcharse(String id, String userId, String goodsId,
			String iapState, int serverState, DecimalDV money, String payTime,
			String successTime) {
		super();
		this.id = id;
		this.userId = userId;
		this.goodsId = goodsId;
		this.iapState = iapState;
		this.serverState = serverState;
		this.money = money;
		this.payTime = payTime;
		this.successTime = successTime;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getIapState() {
		return iapState;
	}

	public void setIapState(String iapState) {
		this.iapState = iapState;
	}

	public int getServerState() {
		return serverState;
	}

	public void setServerState(int serverState) {
		this.serverState = serverState;
	}

	public DecimalDV getMoney() {
		return money;
	}

	public void setMoney(DecimalDV money) {
		this.money = money;
	}

	public String getPayTime() {
		return payTime;
	}

	public void setPayTime(String payTime) {
		this.payTime = payTime;
	}

	public String getSuccessTime() {
		return successTime;
	}

	public void setSuccessTime(String successTime) {
		this.successTime = successTime;
	}
	
}
